<!DOCTYPE html>
<html>
    <style>
        html{
            min-width: 440px;
            min-height: 600px;
        }
        ::-webkit-scrollbar {
                width:8px;
            }
            /* 滚动槽 */
            ::-webkit-scrollbar-track {
                border-radius:10px;
            }
            /* 滚动条滑块 */
            ::-webkit-scrollbar-thumb {
                border-radius:10px;
                background:rgb(95, 95, 95);
            }
            ::-webkit-scrollbar-thumb:window-inactive {
                background:rgba(211, 211, 211, 0.4);
            }
    </style>
    <head>
        <meta charset="utf-8">
        <title>Hydrogen Chat</title>
        <meta name="viewport" content="width=device-width, user-scalable=no">
        <meta name="application-name" content="Hydrogen Chat"/>
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="apple-mobile-web-app-title" content="Hydrogen Chat">
        <meta name="description" content="A matrix chat application">
        <link rel="apple-touch-icon" href="./assets/element-logo.png">
        <link rel="icon" type="image/png" href="assets/element-logo.png">
        <script type="module"> 
            // import "@theme/default";
            // import "@theme/element/dark/variables.css";
            // import "./ui/css/themes/element/theme.css"; 
        </script>
    </head>
    <body class="hydrogen">
        <script id="main" type="module">
            import {main} from "./main";
            import {Platform} from "./Platform";
            import configURL from "./assets/config.json?url";
            import assetPaths from "./sdk/paths/vite";
            if (import.meta.env.PROD) {
                assetPaths.serviceWorker = "sw.js";
            }
            const platform = new Platform({
                container: document.body,
                assetPaths,
                configURL, 
                options: {development: import.meta.env.DEV}
            });
            main(platform);
        </script>
    </body>
</html>
